//引入依赖的配置文件模块
require(["config"],function(){
	//引入依赖文件
	require(["jquery","header","carousel"],function($){
		function Con(){
			this.loadCarousel();
			
		}
		
		$.extend(Con.prototype = {
			loadCarousel:function(){
				$(".carousel-box").carousel({
					imgs : [
						{href:"#", src:"/images/lun1.jpg"},
						{href:"#", src:"/images/lun2.jpg"},
						{href:"#", src:"/images/lun3.jpg"},
						{href:"#", src:"/images/lun4.jpg"}
					],
					width: 996,
					height: 450,
					duration: 3000
				});
//				var user= $.cookie("login-user");
				
				
			}
			
		});
		new Con();
	});
});